﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class _20210924_updateinspection : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Length",
                table: "UploadPictures",
                newName: "Size");

            migrationBuilder.AddColumn<string>(
                name: "TaskCodeId",
                table: "InspectionStandardDescs",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "TaskCodeId",
                table: "InspectionStandardDescs");

            migrationBuilder.RenameColumn(
                name: "Size",
                table: "UploadPictures",
                newName: "Length");
        }
    }
}
